package io.gitee.zhangbinhub.admin.resource.server.po

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotNull

@Schema(description = "流程任务处理参数")
data class ProcessHandlingPo(
    @field:Schema(description = "任务id", required = true)
    @field:NotNull(message = "任务id不能为空")
    var taskId: Long? = null,
    @field:Schema(description = "处理结果", required = true)
    @field:NotNull(message = "处理结果不能为空")
    var pass: Boolean? = null,
    @field:Schema(description = "处理意见", required = true)
    var message: String? = null,
    @field:Schema(description = "自定义流程参数")
    var params: MutableMap<String, Any> = mutableMapOf()
)
